/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ASUS
 * Date: 2023-12-31
 * Time: 14:56
 */
class NewYear{
    String a ;
    int b ;


    public void newYear(String a, int b){
        this.a = a;
        this.b = b;
    }
    public void print(){
        System.out.println("大家"+this.a);
        System.out.println(this.b+"学业有成，继续努力!");
    }
}
public class Test {
    public static void main(String[] args) {
        NewYear newYear = new NewYear();
        newYear.newYear("Happy New Year!",2024);
        newYear.print();
    }
}
